package com.chenyongjing.design.pattern.observer.mouseevent.handler;

import com.chenyongjing.design.pattern.observer.mouseevent.core.Event;
import com.chenyongjing.design.pattern.observer.mouseevent.core.EventListener;

/**
 * @Author chen
 * @Date 2022/12/6 22:26
 */
public class MouseEventListenter implements EventListener {
    public void onClick(Event event){
        System.out.println("=======鼠标点击触发事件=========");
    }
    public void onMove(Event event){
        System.out.println("=======鼠标移动触发事件=========");
    }



}
